// main.ts
import { createApp } from "vue";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css"
import locale from "element-plus/es/locale/lang/zh-cn";
//1.
// 然后将element-ui中pagination选项改掉
// locale.el.pagination = {
//   pagesize: "条/页",
//   total: `共 {total}萨达 条`,
//   goto: "跳转到",
//   pageClassifier: "页",
// };
import App from "./App.vue";
// 想要修改页面的，就覆盖哪个
// 页面首先引入element-ui中文包
const app = createApp(App);

//2.
app.use(ElementPlus, {
    locale: locale,
  })
app.use(ElementPlus);
app.mount("#app");
